package com.hongxin.doc.common.enums;

public enum StatusEnum {

    UNKNOW(0, "未知"),
    NORMAL(1, "正常/成功"),
    DELETE(2, "失败/删除/弃用");

    private final Integer code;
    private final String name;

    StatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
